TreeView: Get expander size from CSS min-width|height
authorDaniel Boles <dboles.src@gmail.com>
Wed, 20 Jun 2018 20:11:59 +0000 (21:11 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 21 Jun 2018 13:49:00 +0000 (15:49 +0200)
commit91784238447e9127324127dc41810ed6383ecd8e
treeec032b867ece4f6d3ccf48eac3358143adc0ff8c
parent5c46c81067fff58c9b44c4ac4ea64cd3f6092aca
TreeView: Get expander size from CSS min-width|height

Rather than hard-coding this, get it from CSS. That way, themes will be
able to set larger expanders than a fixed 16 px, e.g. for accessibility.

See https://gitlab.gnome.org/GNOME/gtk/merge_requests/167
gtk/gtktreeview.c
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css
gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css